package com.treasure.domain.domain;

import com.treasure.domain.domain.entity.PromptTemplateContext;
import com.treasure.domain.domain.entity.VerifyMessageContext;
import com.treasure.domain.domain.entity.document.CreateAccountNotify;

import java.io.IOException;

/**
 * @author sunhongmin
 * @date 2023/11/5 12:24
 * @description 文本变量集合领域服务
 */
public interface TextVariablesCombinedDomainService {

    String promptTemplate(PromptTemplateContext promptTemplateContext) throws IOException;

    String verifyMessageTemplateWithSms(VerifyMessageContext verifyMessageContext) throws IOException;

    String verifyMessageTemplateWithEmail(VerifyMessageContext verifyMessageContext) throws IOException;

    String createAccountTemplate(CreateAccountNotify createAccountNotify) throws IOException, IllegalAccessException;

}
